﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public enum UserRole 
{
    Member,
    Moderator,
    Admin,
    Null
}
/// <summary>
/// Summary description for UserCredentials
/// </summary>
public class UserCredentials
{

    #region variables
    
    private int _userID;
    private string _username;
    private string _password;
    private string _email;
    private string _signature;
    private string _userRole;
    private string _salt;
    

    #endregion


    #region Properties

  
    public int UserID
    {
        get;
        set;
    }

    public string Username
    {
        get { return _username;  }
        set { _username = value; }
    }
    public string Signature
    {
        get { return _signature; }
        set { _signature = value; }
    }
    public string Password
    {
        get { return _password;  }
        set { _password = value; }
    }
    public string Email
    {
        get { return _email;  }
        set { _email = value; }
    }
    public string UserRole
    {
        get { return _userRole; }
        set { _userRole = value; }
    }
    public string Salt
    {
        get { return _salt; }
        set { _salt = value; }
    }
    #endregion 


    #region construct

    public UserCredentials()
    {
        this.UserID = 0;
        this.Username = null;
        this.Password = null;
        this.Signature = null;
        this.Email = null;
        this.UserRole = null;
        this.Salt = null;
    }

    #endregion 

}